POV-Ray : Newsgroups : povray.unofficial.patches : OpenGL support idea : Re: OpenGL support idea Server Time
1 Sep 2024 18:15:40 EDT (-0400)
  Re: OpenGL support idea  
From: Chris Huff
Date: 15 Jan 2001 16:13:37
Message: <chrishuff-2E3292.16145515012001@news.povray.org>
In article <3a6353dd$1@news.povray.org>, "David C" <dav### [at] satnet> 
wrote:

> I know about how the objects are rendered. I was thinking of using the
> glut library so that it would be platform independent. I really havn't
> put too much thought into this. It's just a really neat idea I had that I
> may or may not write.

Hmm...if you use the GLUT library, you gain platform independance (you 
will only need to recompile for most platforms), but it kind of limits 
you...I don't think you can combine GLUT with platform-dependant 
interfaces, and GLUT was mainly designed for tests and demos. Maybe a 
GLUT interface, but make sure you keep the GLUT-dependant code well 
separated and provide plenty of ways to use other platform-specific 
interfaces instead.
And GLUT still won't help you render many POV primitives...julia 
fractals, for instance.

And what extent of previewing were you thinking of? An immediate preview 
of each frame and writing those results to the output file, or rendering 
all frames (without displaying) and displaying them all at once? For 
stills, a way to move camera and lights around without reparsing the 
file? (that last one could be really platform/GLUT dependant...)

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.